<?php

namespace Xin\Menu;


abstract class AbstractDBRepository extends AbstractRepository
{
    /**
     * 获取受支持的搜索字段
     * @return array
     */
    protected function getSearchFields()
    {
        return $this->getConfig('search_fields', [
            "id", "title", "name", "alias", "type", "group", "remark", "sort",
            "status", "system", "display", "public", "updated_at", "created_at",
        ]);
    }
}
